package com.mecol.library.dao;

import com.mecol.library.entity.Book;
import com.mecol.library.entity.BookSearch;

import java.util.List;

public interface BookDao {
    List<Book> getAllBookList(BookSearch search);

    void insertBook(Book book);

    Book getBookById(int book_id);

    void updateBook(Book book);

    void deleteBookById(int book_id);

    List<Book> getAllBooks();
}
